const imgerror = {
  inserted (dom, options) {
    dom.onerror = () => {
      dom.src = options.value
    }
  }
}

export { imgerror }
